<template>
  <div class="container">
      <div class="goods">
          <div class="left">
              <span class="tags">
                  <em>新品上市</em>
              </span>
              <img src="https://res.vmallres.com/pimages/uomcdn/CN/pms/202206/displayProduct/10086930242092/428_428_86D9D4F4D142607E584F917919C93282mp.png" alt="">
              <span class="lack">
                  <span>正在预订</span>
              </span>
          </div>
          <div class="right">
              <p class="goodsName">HUAWEI FreeBuds Pro 无线耳机</p>
              <p class="promotion">直降300元丨3期免息</p>
              <p class="price">
                  <b>
                      <em>
                          <span class="sign">￥</span>
                          <span class="goodsNewPrice">599</span>
                      </em>
                      <del>
                          <span class="sign">￥</span>
                          <span class="goodsOldPrice">899</span>
                      </del>
                  </b>
                  <span class="tag-list">
                      <span class="tag-item">
                          <em>限时直降</em>
                      </span>
                      <span class="tag-item">
                          <em>分期免息</em>
                      </span>
                      <span class="tag-item">
                          <em>赠送积分</em>
                      </span>
                  </span>
              </p>
              <div class="value">
                  <span class="remarkNum">82580人评价</span>
                  <span class="goodScorePercent">97%好评</span>
              </div>
          </div>
      </div>
  </div>
</template>

<script>
export default {

}
</script>

<style scoped lang="scss">
    .container{
        width: 3.36rem;
        height: 1.38rem;
        padding-top: 0.05rem;
        margin: 0 auto;
        font-size: 0.16rem;
        .goods{
            width: 3.36rem;
            height: 1.30rem;
            padding-top: 0.04rem;
            padding-bottom: 0.04rem;
            display: flex;
            .left{
                width: 1.3rem;
                height: 1.3rem;
                background-color: #f9f9f9;
                border-radius: 0.1rem;
                display: flex;
                flex-direction: column;
                text-align: center;
                .tags{
                    width: 0.48rem;
                    height: 0.14rem;
                    background-color: #ff6a6e;
                    font-size: 0.06rem;
                    margin: 0 auto;
                    color: white;
                    margin-bottom: 0.03rem;
                    border-radius: 0 0 0.03rem 0.03rem;
                    em{
                        line-height: 0.14rem;
                    }
                }
                img{
                    margin: 0 auto;
                    width: 0.9rem;
                    height: 0.9rem;
                    margin-bottom: 0.03rem;
                }
                .lack{
                    width: 1.3rem;
                    height: 0.22rem;
                    background-color: #f9f1f1;
                    border-radius: 0 0 0.1rem 0.1rem; 
                    span{
                        font-size: 0.12rem;
                        color: #ff6a6e;
                    }
                }
            }
            .right{
                width: 1.94rem;
                height: 1.3rem;
                padding-left: 0.12rem;
                .goodsName{
                    width: 1.94rem;
                    height: 0.36rem;
                    font-size: 0.14rem;
                    margin-top: 0.12rem;
                    
                }
                .promotion{
                    width: 1.94rem;
                    height: 0.14rem;
                    font-size: 0.1rem;
                    color: #999999;
                    margin-top: 0.04rem;
                }
                .price{
                    width: 1.84rem;
                    height: 0.36rem;
                    margin-top: 0.04rem;
                    display: flex;
                    flex-direction: column;
                    b{
                        width: 1.84rem;
                        height: 0.15rem;
                        em{
                            width: 0.66rem;
                            height: 0.15rem;
                            color: #ca141d;
                            .sign{
                                font-size: 0.06rem;
                            }
                            .goodsNewPrice{
                                font-size: 0.18rem;
                            }
                        }
                        del{
                            margin-left: 0.08rem;
                            font-size: 0.06rem;
                            font-weight: 700;
                            color: #999;
                        }
                    }
                    .tag-list{
                        margin-top: 0.04rem;
                        width: 1.84rem;
                        height: 0.14rem;
                        display: flex;
                        .tag-item{
                            display: block;
                            width: 0.68rem;
                            height: 0.14rem;
                            background-color: white;
                            border: 1px solid #ca141d;
                            color: #ca141d;
                            font-size: 0.06rem;
                            border-radius: 0.1rem;
                            text-align: center;
                            margin-right: 0.04rem;
                            line-height: 0.14rem;
                        }
                    }
                }
                .value{
                    width: 1.5rem;
                    height: 0.1rem;
                    font-size: 0.06rem;
                    color: #999;
                    display: flex;
                    margin-top: 0.04rem;
                    .remarkNum{
                        display: block;
                        width: 0.7rem;
                        height: 0.1rem;
                        margin-right: 0.05rem;
                    }
                    .goodScorePercent{
                        display: block;
                        width: 0.6rem;
                        height: 0.1rem;
                    }
                }
            }
        }
    }
</style>